﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class MigrationAbstractionExtensions
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class MigrationAbstractionExtensions
   ">
    <meta name="generator" content="docfx 2.48.0.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions">
  
  
  <h1 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions" class="text-break">Class MigrationAbstractionExtensions
  </h1>
  <div class="markdown level0 summary"><p>Useful extension method for FluentMigration library</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
    <div class="level1"><span class="xref">MigrationAbstractionExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_">Object.Equals(Object)</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#System_Object_Equals_System_Object_System_Object_">Object.Equals(Object, Object)</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#System_Object_GetHashCode">Object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#System_Object_GetType">Object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#System_Object_MemberwiseClone">Object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#System_Object_ReferenceEquals_System_Object_System_Object_">Object.ReferenceEquals(Object, Object)</a>
    </div>
    <div>
      <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#System_Object_ToString">Object.ToString()</a>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FluentDbTools.Migration.Abstractions.html">FluentDbTools.Migration.Abstractions</a></h6>
  <h6><strong>Assembly</strong>: FluentDbTools.Migration.Abstractions.dll</h6>
  <h5 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class MigrationAbstractionExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_FluentDbTools_Migration_Abstractions_IExtendedMigrationProcessor_System_String_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(FluentDbTools.Migration.Abstractions.IExtendedMigrationProcessor%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L37">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_FluentDbTools_Migration_Abstractions_IExtendedMigrationProcessor_System_String_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(FluentDbTools.Migration.Abstractions.IExtendedMigrationProcessor,System.String)">ExecuteSql(IExtendedMigrationProcessor, String)</h4>
  <div class="markdown level1 summary"><p>Execute Sql. If Sql contains line-breaks, sql is split into smaller sql statements and execute them separately</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void ExecuteSql(this IExtendedMigrationProcessor processor, string sql)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="FluentDbTools.Migration.Abstractions.IExtendedMigrationProcessor.html">IExtendedMigrationProcessor</a></td>
        <td><span class="parametername">processor</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sql</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_FluentMigrator_Migration_System_String_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(FluentMigrator.Migration%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L26">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_FluentMigrator_Migration_System_String_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(FluentMigrator.Migration,System.String)">ExecuteSql(Migration, String)</h4>
  <div class="markdown level1 summary"><p>Execute Sql. If Sql contains line-breaks, sql is split into smaller sql statements and execute them separately</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void ExecuteSql(this Migration migration, string sql)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">FluentMigrator.Migration</span></td>
        <td><span class="parametername">migration</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sql</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_System_Action_System_String__System_String_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(System.Action%7BSystem.String%7D%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L48">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_ExecuteSql_System_Action_System_String__System_String_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.ExecuteSql(System.Action{System.String},System.String)">ExecuteSql(Action&lt;String&gt;, String)</h4>
  <div class="markdown level1 summary"><p>Execute Sql. If Sql contains line-breaks, sql is split into smaller sql statements and execute them separately</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void ExecuteSql(this Action&lt;string&gt; action, string sql)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a>&gt;</td>
        <td><span class="parametername">action</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sql</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetAlterColumns_System_Collections_Generic_ICollection_FluentMigrator_Expressions_IMigrationExpression__System_String_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetAlterColumns(System.Collections.Generic.ICollection%7BFluentMigrator.Expressions.IMigrationExpression%7D%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L187">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetAlterColumns_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetAlterColumns*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetAlterColumns_System_Collections_Generic_ICollection_FluentMigrator_Expressions_IMigrationExpression__System_String_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetAlterColumns(System.Collections.Generic.ICollection{FluentMigrator.Expressions.IMigrationExpression},System.String)">GetAlterColumns(ICollection&lt;IMigrationExpression&gt;, String)</h4>
  <div class="markdown level1 summary"><p>Return all <span class="xref">FluentMigrator.Expressions.AlterColumnExpression</span> from the collection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IList&lt;ColumnDefinition&gt; GetAlterColumns(this ICollection&lt;IMigrationExpression&gt; migrationExpressions, string tableName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td><span class="parametername">migrationExpressions</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">tableName</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Model.ColumnDefinition</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbMigrationConfig_System_IServiceProvider_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbMigrationConfig(System.IServiceProvider)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L231">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbMigrationConfig_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbMigrationConfig*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbMigrationConfig_System_IServiceProvider_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbMigrationConfig(System.IServiceProvider)">GetDbMigrationConfig(IServiceProvider)</h4>
  <div class="markdown level1 summary"><p>Resolve the registered implementation of <a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html">IDbMigrationConfig</a> from the DependencyInjection container <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IDbMigrationConfig GetDbMigrationConfig(this IServiceProvider serviceProvider)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></td>
        <td><span class="parametername">serviceProvider</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html">IDbMigrationConfig</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbOperationFromExpression_FluentMigrator_Expressions_IMigrationExpression_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbOperationFromExpression(FluentMigrator.Expressions.IMigrationExpression)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L214">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbOperationFromExpression_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbOperationFromExpression*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetDbOperationFromExpression_FluentMigrator_Expressions_IMigrationExpression_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetDbOperationFromExpression(FluentMigrator.Expressions.IMigrationExpression)">GetDbOperationFromExpression(IMigrationExpression)</h4>
  <div class="markdown level1 summary"><p>Resolve Database operation from <code data-dev-comment-type="paramref" class="paramref">expression</code><br>
<br>
i.e: AlterColumnExpression =&gt; AlterColumn, CreateTableExpression =&gt; CreateTable, AlterTableExpression =&gt; AlterTable</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string GetDbOperationFromExpression(this IMigrationExpression expression)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">FluentMigrator.Expressions.IMigrationExpression</span></td>
        <td><span class="parametername">expression</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetMigrationExpressions__1_FluentMigrator_Builders_ExpressionBuilderBase___0__.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetMigrationExpressions%60%601(FluentMigrator.Builders.ExpressionBuilderBase%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L115">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetMigrationExpressions_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetMigrationExpressions*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetMigrationExpressions__1_FluentMigrator_Builders_ExpressionBuilderBase___0__" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetMigrationExpressions``1(FluentMigrator.Builders.ExpressionBuilderBase{``0})">GetMigrationExpressions&lt;T&gt;(ExpressionBuilderBase&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Resolve all <span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>'s from a <span class="xref">FluentMigrator.Builders.ExpressionBuilderBase&lt;T&gt;</span><br>
<br>
Exception <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.fieldaccessexception">FieldAccessException</a> wil be thrown if <span class="xref">FluentMigrator.Builders.ExpressionBuilderBase&lt;T&gt;</span> is missing the <span class="xref">FluentMigrator.Infrastructure.IMigrationContext</span></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IList&lt;IMigrationExpression&gt; GetMigrationExpressions&lt;T&gt;(this ExpressionBuilderBase&lt;T&gt; builder)
    where T : class, IMigrationExpression</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">FluentMigrator.Builders.ExpressionBuilderBase</span>&lt;T&gt;</td>
        <td><span class="parametername">builder</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.fieldaccessexception">FieldAccessException</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetTableConfigValue_FluentDbTools_Migration_Abstractions_IDbMigrationConfig_System_String_System_String_System_String___.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetTableConfigValue(FluentDbTools.Migration.Abstractions.IDbMigrationConfig%2CSystem.String%2CSystem.String%2CSystem.String%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L251">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetTableConfigValue_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetTableConfigValue*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_GetTableConfigValue_FluentDbTools_Migration_Abstractions_IDbMigrationConfig_System_String_System_String_System_String___" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.GetTableConfigValue(FluentDbTools.Migration.Abstractions.IDbMigrationConfig,System.String,System.String,System.String[])">GetTableConfigValue(IDbMigrationConfig, String, String, String[])</h4>
  <div class="markdown level1 summary"><p>Resolve table-value by <code data-dev-comment-type="paramref" class="paramref">template</code> and <code data-dev-comment-type="paramref" class="paramref">tableName</code><br>
i.e: With <code data-dev-comment-type="paramref" class="paramref">template</code> equal to &quot;tables:{<code data-dev-comment-type="paramref" class="paramref">tableName</code>}:globalId&quot; and <code data-dev-comment-type="paramref" class="paramref">tableName</code> equal to &quot;Person&quot; (and ie. <code data-dev-comment-type="paramref" class="paramref">migrationConfig</code>.GetSchemaPrefixId() (<a class="xref" href="FluentDbTools.Common.Abstractions.IDbConfigDatabaseTargets.html#FluentDbTools_Common_Abstractions_IDbConfigDatabaseTargets_GetSchemaPrefixId">GetSchemaPrefixId()</a>) returns &quot;EX&quot; <br>
=&gt; Will search configuration:<br></p>
<ul>
<li>&quot;database:migration:tables:Person:globalId&quot;<br></li>
<li>&quot;database:migration:tables:EXPerson:globalId&quot;<br></li>
<li>&quot;database:tables:Person:globalId&quot;<br></li>
<li>&quot;database:tables:EXPerson:globalId&quot;<br></li>
</ul>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string GetTableConfigValue(this IDbMigrationConfig migrationConfig, string template, string tableName, params string[] fallbackTemplates)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html">IDbMigrationConfig</a></td>
        <td><span class="parametername">migrationConfig</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">template</span></td>
        <td><p>string template containing {tableName}</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">tableName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a>[]</td>
        <td><span class="parametername">fallbackTemplates</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Insert_System_Collections_Generic_IList_FluentMigrator_Expressions_IMigrationExpression__FluentMigrator_Expressions_IMigrationExpression_FluentMigrator_Expressions_IMigrationExpression_System_Boolean_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Insert(System.Collections.Generic.IList%7BFluentMigrator.Expressions.IMigrationExpression%7D%2CFluentMigrator.Expressions.IMigrationExpression%2CFluentMigrator.Expressions.IMigrationExpression%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L154">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Insert_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Insert*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Insert_System_Collections_Generic_IList_FluentMigrator_Expressions_IMigrationExpression__FluentMigrator_Expressions_IMigrationExpression_FluentMigrator_Expressions_IMigrationExpression_System_Boolean_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Insert(System.Collections.Generic.IList{FluentMigrator.Expressions.IMigrationExpression},FluentMigrator.Expressions.IMigrationExpression,FluentMigrator.Expressions.IMigrationExpression,System.Boolean)">Insert(IList&lt;IMigrationExpression&gt;, IMigrationExpression, IMigrationExpression, Boolean)</h4>
  <div class="markdown level1 summary"><p>Insert a <span class="xref">FluentMigrator.Expressions.IMigrationExpression</span> into the list</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IList&lt;IMigrationExpression&gt; Insert(this IList&lt;IMigrationExpression&gt; list, IMigrationExpression indexItem, IMigrationExpression newItemToInsert, bool after = false)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td><span class="parametername">list</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">FluentMigrator.Expressions.IMigrationExpression</span></td>
        <td><span class="parametername">indexItem</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">FluentMigrator.Expressions.IMigrationExpression</span></td>
        <td><span class="parametername">newItemToInsert</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">after</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_IsFieldType_System_Reflection_FieldInfo_System_Type_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.IsFieldType(System.Reflection.FieldInfo%2CSystem.Type)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L202">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_IsFieldType_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.IsFieldType*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_IsFieldType_System_Reflection_FieldInfo_System_Type_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.IsFieldType(System.Reflection.FieldInfo,System.Type)">IsFieldType(FieldInfo, Type)</h4>
  <div class="markdown level1 summary"><p>Return true if <code data-dev-comment-type="paramref" class="paramref">type</code>(<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.reflection.fieldinfo.fieldtype#System_Reflection_FieldInfo_FieldType">FieldType</a> )is of type specified by <code data-dev-comment-type="paramref" class="paramref">fieldType</code> argument</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsFieldType(this FieldInfo type, Type fieldType)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.reflection.fieldinfo">FieldInfo</a></td>
        <td><span class="parametername">type</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.type">Type</a></td>
        <td><span class="parametername">fieldType</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_PrepareSql_FluentDbTools_Migration_Abstractions_IDbMigrationConfig_System_String_System_String_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.PrepareSql(FluentDbTools.Migration.Abstractions.IDbMigrationConfig%2CSystem.String%2CSystem.String%2CSystem.String%2CSystem.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L85">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_PrepareSql_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.PrepareSql*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_PrepareSql_FluentDbTools_Migration_Abstractions_IDbMigrationConfig_System_String_System_String_System_String_System_String_System_String_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.PrepareSql(FluentDbTools.Migration.Abstractions.IDbMigrationConfig,System.String,System.String,System.String,System.String,System.String)">PrepareSql(IDbMigrationConfig, String, String, String, String, String)</h4>
  <div class="markdown level1 summary"><p>Replace elements by conventions<br>
Replace {SchemaName} with <code data-dev-comment-type="paramref" class="paramref">schemaName</code> or <a class="xref" href="FluentDbTools.Common.Abstractions.IDbConfigDatabaseTargets.html#FluentDbTools_Common_Abstractions_IDbConfigDatabaseTargets_Schema">Schema</a><br>
Replace {SchemaPrefixId} with <code data-dev-comment-type="paramref" class="paramref">schemaPrefixId</code> or  <a class="xref" href="FluentDbTools.Common.Abstractions.IDbConfigDatabaseTargets.html#FluentDbTools_Common_Abstractions_IDbConfigDatabaseTargets_GetSchemaPrefixId">GetSchemaPrefixId()</a><br>
Replace {SchemaPrefixUniqueId} with <code data-dev-comment-type="paramref" class="paramref">schemaPrefixUniqueId</code> or  <a class="xref" href="FluentDbTools.Common.Abstractions.IDbConfigDatabaseTargets.html#FluentDbTools_Common_Abstractions_IDbConfigDatabaseTargets_GetSchemaPrefixUniqueId">GetSchemaPrefixUniqueId()</a><br>
Replace {MigrationName} with <code data-dev-comment-type="paramref" class="paramref">migrationName</code> or  <a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html#FluentDbTools_Migration_Abstractions_IDbMigrationConfig_GetMigrationName">GetMigrationName()</a><br>
Replace {User} with <code data-dev-comment-type="paramref" class="paramref">migrationName</code> or  <a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html#FluentDbTools_Migration_Abstractions_IDbMigrationConfig_GetMigrationName">GetMigrationName()</a><br></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string PrepareSql(this IDbMigrationConfig migrationConfig, string sql, string schemaName = null, string schemaPrefixId = null, string schemaPrefixUniqueId = null, string migrationName = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="FluentDbTools.Migration.Abstractions.IDbMigrationConfig.html">IDbMigrationConfig</a></td>
        <td><span class="parametername">migrationConfig</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sql</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">schemaName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">schemaPrefixId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">schemaPrefixUniqueId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">migrationName</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Replace_System_Collections_Generic_IList_FluentMigrator_Expressions_IMigrationExpression__FluentMigrator_Expressions_IMigrationExpression_FluentMigrator_Expressions_IMigrationExpression_.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Replace(System.Collections.Generic.IList%7BFluentMigrator.Expressions.IMigrationExpression%7D%2CFluentMigrator.Expressions.IMigrationExpression%2CFluentMigrator.Expressions.IMigrationExpression)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L129">View Source</a>
  </span>
  <a id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Replace_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Replace*"></a>
  <h4 id="FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions_Replace_System_Collections_Generic_IList_FluentMigrator_Expressions_IMigrationExpression__FluentMigrator_Expressions_IMigrationExpression_FluentMigrator_Expressions_IMigrationExpression_" data-uid="FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions.Replace(System.Collections.Generic.IList{FluentMigrator.Expressions.IMigrationExpression},FluentMigrator.Expressions.IMigrationExpression,FluentMigrator.Expressions.IMigrationExpression)">Replace(IList&lt;IMigrationExpression&gt;, IMigrationExpression, IMigrationExpression)</h4>
  <div class="markdown level1 summary"><p>Replace a <span class="xref">FluentMigrator.Expressions.IMigrationExpression</span> in the list</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static IList&lt;IMigrationExpression&gt; Replace(this IList&lt;IMigrationExpression&gt; list, IMigrationExpression itemToBeReplaced, IMigrationExpression newItem)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td><span class="parametername">list</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">FluentMigrator.Expressions.IMigrationExpression</span></td>
        <td><span class="parametername">itemToBeReplaced</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">FluentMigrator.Expressions.IMigrationExpression</span></td>
        <td><span class="parametername">newItem</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<span class="xref">FluentMigrator.Expressions.IMigrationExpression</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/DIPSAS/FluentDbTools/new/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/apiSpec/new?filename=FluentDbTools_Migration_Abstractions_MigrationAbstractionExtensions.md&amp;value=---%0Auid%3A%20FluentDbTools.Migration.Abstractions.MigrationAbstractionExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/DIPSAS/FluentDbTools/blob/854cee143dbb4017f4a63d3b6c9fa5c1ce1dce74/src/FluentDbTools/Abstractions/FluentDbTools.Migration.Abstractions/MigrationAbstractionExtensions.cs/#L19" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
